/**
 * 
 */
package com.qwiki.xml;

import java.util.Arrays;

/**
 * WikiPage
 * 
 * @author xgu
 * @since Jun 26, 2012
 */
public class WikiPage
{
  public int getId()
  {
    return id;
  }

  public void setId(int id)
  {
    this.id = id;
  }

  public int getNamespace()
  {
    return namespace;
  }

  public void setNamespace(int namespace)
  {
    this.namespace = namespace;
  }

  public String getTitle()
  {
    return title;
  }

  public void setTitle(String title)
  {
    this.title = title;
  }

  public String getText()
  {
    return text;
  }

  public void setText(String text)
  {
    this.text = text;
  }

  public String[] getCategories()
  {
    return categories;
  }

  public void setCategories(String[] categories)
  {
    this.categories = categories;
  }

  public String[] getEntities()
  {
    return entities;
  }

  public void setEntities(String[] entities)
  {
    this.entities = entities;
  }

  int id;
  int namespace;
  String title;
  String text;
  String[] categories;
  String[] entities;

  @Override
  public String toString()
  {
    return "id: " + id + " - " + title + " - ns: " + namespace + " - " + Arrays.toString(categories) + " - " + text;
  }
}
